package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.detailtab.pojo.TabConfigPojo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/6/24 9:31
 * @since v1.0
 */
@Getter
@Setter
public class DetailTabSettingSaveDTO extends BaseDTO {

    /**
     * saasMark
     */
    @NotNull(message = "{dto.msg.detailTabSettingGet.saasMark.NotNull}")
    private Integer saasMark;
    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * paas表单根据appid和menuid区分
     */
    private Long appId;

    private Long menuId;

    private Long formId;

    @NotNull(message = "{dto.msg.detailTabSettingSave.tabConfig.NotNull}")
    private List<TabConfigPojo> tabConfig;
}
